<div class="container">

    <div class="row">
        <div class="span9">
            <div class="page-header" style="margin-top: 0px; padding-bottom: 0px; border-bottom-width: 3px; margin-bottom: 5px;">        
                <h3 style="margin-top: 0px; margin-bottom: 0px;">Lista de Precios</h3>
            </div> 
        </div>       
    </div>
    <div class="row" >
        <div class="span9">
            <table   class="table table-bordered table-hover">
                <thead>
                    <tr>
                        <th>Nombre</th>
                        <th>Modelo</th>
                        <th>Precio Compra</th>
                        <th>Precio Venta</th>                        
                        <th style="width: 80px;text-align: center;" >Editar</th>

                    </tr> 
                </thead>
                <tbody>
                    <% _.each(list, function(item){ %>
                    <tr>
                        <td><%= item.get("article_name") %></td>
                        <td><%= item.get("article_model") %></td>
                        <td><%= item.get("article_price_purcharse") %></td>
                        <td dp="price"><%= item.get("article_price_sale") %></td>
                        <td style="width: 80px;text-align: center;" ><button id="edit_action" index="<%= item.get("article_id") %>" class="btn btn-info btn-mini"><i class="icon-edit icon-white"></i>Editar</button></td>
                    </tr>
                    <% }); %>
                </tbody>
            </table>
            <div id="main-pagination" class="pagination">

            </div>

        </div> 
    </div><div  id="main-list"></div> 
</div> 

<div id="dialog-edit" title="Precio de Venta" style="display: none">    
    <form class="form-horizontal">
        <div class="control-group">
            <label class="control-label" for="price_sale">Precio Venta</label>
            <div class="controls">
                <input type="text" id="price_sale" placeholder="Precio Venta">
                <input type="hidden" id="article_id" >
            </div>
        </div>        
    </form>
</div>
